<%@ page import="com.techedge.insidetrack.Attendee" %>



<div class="fieldcontain ${hasErrors(bean: attendeeInstance, field: 'user', 'error')} required">
	<label for="user">
		<g:message code="attendee.user.label" default="User" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="user" name="user.id" from="${com.techedge.insidetrack.User.list()}" optionKey="id" required="" value="${attendeeInstance?.user?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: attendeeInstance, field: 'insideTrack', 'error')} required">
	<label for="insideTrack">
		<g:message code="attendee.insideTrack.label" default="Inside Track" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="insideTrack" name="insideTrack.id" from="${com.techedge.insidetrack.Insidetrack.list()}" optionKey="id" required="" value="${attendeeInstance?.insideTrack?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: attendeeInstance, field: 'location', 'error')} ">
	<label for="location">
		<g:message code="attendee.location.label" default="Location" />
		
	</label>
	<g:select id="location" name="location.id" from="${com.techedge.insidetrack.Location.list()}" optionKey="id" value="${attendeeInstance?.location?.id}" class="many-to-one" noSelection="['null': '']"/>
</div>

<div class="fieldcontain ${hasErrors(bean: attendeeInstance, field: 'note', 'error')} ">
	<label for="note">
		<g:message code="attendee.note.label" default="Note" />
		
	</label>
	<g:textArea name="note" cols="40" rows="5" maxlength="500" value="${attendeeInstance?.note}"/>
</div>
